<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<input type="hidden" name="zh_parsen/fzr_name" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name"/>"/>
<input type="hidden" name="zh_parsen/fzr_mobile" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile"/>"/>
<input type="hidden" name="zh_parsen/fzr_tel" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work"/>"/>
<input type="hidden" name="zh_parsen/fzr_email" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email"/>"/>

<div class="t_bar"><span class="color_red">*</span>项目基本情况</div>
<table class="t_css" width="100%" id="table_01">
<col style="width: 20%"/>
<col style="width: 30%"/>
<col style="width: 20%"/>
<col style="width: 30%"/>
    <tr class="li_1">
        <td align="right">项目名称：</td>
        <td colspan="3">
            <input type='text' name='proposal/zh_title' onchange="reqName()" id='zh_title' style="width: 84%" class="input_css required" maxlength="50" value='<x:out select="$xmlData/data/proposal/zh_title"/>' label="项目名称">
        </td>
    </tr>
    <tr >
        <td align="right">归口管理部门：</td>
        <td>
            <c:set var="recomend_org">{'id':'<x:out select="$xmlData/data/proposal/recomend_org_value" />','name':'<x:out select="$xmlData/data/proposal/recomend_org_name" />'}</c:set>
            <cpt:tree key="recommended_org" cacheable="false" className="hn_iuput_kuang " readonly="true" value="${recomend_org}"  label="归口管理部门"
                id="recomend_org"  showPattern="all" shieldPattern="0" topCheckbox="false" onClick="initTreeValueExt" />
            <input type="hidden" id="recomend_org_value" name="proposal/recomend_org_value"  class="required"  value="<x:out select="$xmlData/data/proposal/recomend_org_value" />" label="归口管理部门">
            <input type="hidden" name="proposal/recomend_org_name" value="<x:out select="$xmlData/data/proposal/recomend_org_name" />">
        </td>
        <td  align="right" >申报日期：</td>
        <td>
            <c:set var="submit_date">
                <x:out select="$xmlData/data/proposal/submit_date" />
            </c:set>
            <cpt:date id="apply_date_curr" name="proposal/submit_date" value="${submit_date}" className="required date" label="申报日期" ></cpt:date>
        </td>
    </tr>
    <tr>
        <td align="right">项目联系人姓名：</td>
        <td>
            <input  type="text" label="项目联系人姓名" name="proposal/contact_psn_union_name" class="input_css required" maxlength="30" value="<x:out select="$xmlData/data/proposal/contact_psn_union_name" />">
        </td>
        <td align="right">联系人手机：</td>
        <td>
            <input type="text" label="联系人手机" name="proposal/contact_psn_mobile" class="input_css required mobile" onfocus="InitInput.setNumber(this,11,0,0)" maxlength="11" value="<x:out select="$xmlData/data/proposal/contact_psn_mobile" />">
        </td>
    </tr>
    <tr>
        <td align="right">项目开始日期：</td>
        <td>
            <c:set var="start_date"><x:out select="$xmlData/data/proposal/start_date"/></c:set>
            <cpt:date id="start_date" name="proposal/start_date" label="项目开始日期" value="${start_date }" className=" required  date  "  ></cpt:date>
        </td>
        <td align="right">项目结束日期：</td>
        <td>
            <c:set var="end_date"><x:out select="$xmlData/data/proposal/end_date"/></c:set>
            <cpt:date id="end_date" name="proposal/end_date" label="项目结束日期" value="${end_date }" className=" required  date dateCompareAfterE:end_date:start_date "></cpt:date>
        </td>
    </tr>
    <tr>
        <td align="right">项目报审级次：<br/>（省补助资金拨付所属财政局）</td>
        <td >
            <c:set var="sub_step">{'id':'<x:out select="$xmlData/data/proposal/sub_step_value" />','name':'<x:out select="$xmlData/data/proposal/sub_step_name" />'}</c:set>
            <cpt:tree key="sub_step" cacheable="false" className="hn_iuput_kuang  " readonly="true" value="${sub_step}"  label="项目报审级次" 
                id="sub_step" onlyChooseLeaf="false" showPattern="all" shieldPattern="0" topCheckbox="true" onClick="initTreeValueExt" />
            <input id="sub_step_value" type="hidden" name="proposal/sub_step_value" class="required" label="项目报审级次" value="<x:out select="$xmlData/data/proposal/sub_step_value" />"/>
            <input id="sub_step_name" type="hidden" name="proposal/sub_step_name"  value="<x:out select="$xmlData/data/proposal/sub_step_name" />"/>
        </td>
        <td align="right">项目申请金额（万元）：</td>
        <td>
            <input type='text' name='proposal/request_money' class="required" id='request_money' onfocus="InitInput.setNumber(this,9,2,2)" style="text-align: right;" value='<x:out select="$xmlData/data/proposal/request_money"/>' label="项目申请金额">
        </td>
    </tr>
    <tr>
        <td align="right">注册时间：</td>
        <td colspan="3"><span name="proposal/registe_date"><x:out select="$xmlData/data/organizations/organization[@submit_org='1']/registe_date" /></span></td>
    </tr>
    <tr>
        <td align="right">单位财务状况数据来源：</td>
        <td>
            <input type='text' name='proposal/data_sources' class="input_css required" maxlength="50" value='<x:out select="$xmlData/data/proposal/data_sources"/>' label="单位财务状况数据来源">
        </td>
        <td align="right">上一年度PCT申请授权数：</td>
        <td>
            <input type='text' name='proposal/request_count' class="required" id='request_money' onfocus="InitInput.setNumber(this,9,0,0)" style="text-align: right;" value='<x:out select="$xmlData/data/proposal/request_count"/>' label="上一年度PCT申请授权数">
        </td>
    </tr>
    <tr>
        <td align="right">技术来源：</td>
        <td colspan="3">
            <c:set var="technology_source_value"><x:out select="$xmlData/data/proposal/technology_source_value" /></c:set> 
            <cpt:checkbox key="technology_source" name="technology_source" width="70px" repeatColumn="3" value="${technology_source_value }"  tagType="radio" ></cpt:checkbox>
            <input type="hidden" id="technology_source_value" name="proposal/technology_source_value" class="required" value="${technology_source_value}" label="技术来源"> 
            <input type="hidden" name="proposal/technology_source_name" value="<x:out select="$xmlData/data/proposal/technology_source_name" />">
        </td>
    </tr>
    <tr>
        <td align="right">所属类型：</td>
        <td colspan="3">
            <c:set var="the_type_value"><x:out select="$xmlData/data/proposal/the_type_value" /></c:set> 
            <cpt:checkbox key="the_type" name="the_type" width="70px" repeatColumn="1" value="${the_type_value }"  tagType="radio" ></cpt:checkbox>
            <input type="hidden" id="the_type_value" name="proposal/the_type_value" class="required" value="${the_type_value}" label="所属类型"> 
            <input type="hidden" name="proposal/the_type_name" value="<x:out select="$xmlData/data/proposal/the_type_name" />">
        </td>
    </tr>
    <tr>
        <td align="right">仪器分类：</td>
        <td colspan="3">
            <c:set var="instrument_classification2_value"><x:out select="$xmlData/data/proposal/instrument_classification2_value" /></c:set> 
            <cpt:checkbox key="instrument_classification2" name="instrument_classification2" width="70px" repeatColumn="4" value="${instrument_classification2_value }"  tagType="radio" ></cpt:checkbox>
            <input type="hidden" id="instrument_classification2_value" name="proposal/instrument_classification2_value" class="required" value="${instrument_classification2_value}" label="仪器分类"> 
            <input type="hidden" name="proposal/instrument_classification2_name" value="<x:out select="$xmlData/data/proposal/instrument_classification2_name" />">
        </td>
    </tr>
    <tr>
        <td align="right">仪器主要应用领域：</td>
        <td colspan="3">
            <c:set var="application_fields_value"><x:out select="$xmlData/data/proposal/application_fields_value" /></c:set> 
            <cpt:checkbox key="application_fields" name="application_fields" width="70px" repeatColumn="5" value="${application_fields_value }" ></cpt:checkbox>
            <input type="hidden" id="application_fields_value" name="proposal/application_fields_value" class="required" value="${application_fields_value}" label="仪器主要应用领域"> 
            <input type="hidden" name="proposal/application_fields_name" value="<x:out select="$xmlData/data/proposal/application_fields_name" />">
        </td>
    </tr>
    <tr>
        <td align="right">项目现处阶段 ：</td>
        <td colspan="3">
            <c:set var="prj_current_stage_value"><x:out select="$xmlData/data/proposal/prj_current_stage_value" /></c:set> 
            <cpt:checkbox key="prj_current_stage" name="prj_current_stage" width="70px" repeatColumn="4" value="${prj_current_stage_value }"  tagType="radio" ></cpt:checkbox>
            <input type="hidden" id="prj_current_stage_value" name="proposal/prj_current_stage_value" class="required" value="${prj_current_stage_value}" label="项目现处阶段"> 
            <input type="hidden" name="proposal/prj_current_stage_name" value="<x:out select="$xmlData/data/proposal/prj_current_stage_name" />">
        </td>
    </tr>
</table>
<table class="t_css" width="100%" id="table_02">
<col style="width: 20%"/>
<col style="width: 80%"/>
    <tr>
        <td rowspan="4" align="right">该项目预期取得成果：</td>
        <td style="padding: 0px;">
            <table width="100%" style="text-align: center;border: none !important;">
            <col style="width: 12.5%"/>
            <col style="width: 12.5%"/>
            <col style="width: 12.5%"/>
            <col style="width: 12.5%"/>
            <col style="width: 12.5%"/>
            <col style="width: 12.5%"/>
            <col style="width: 12.5%"/>
            <col style="width: 12.5%"/>
                <tr>
                    <td colspan="4">申请专利（件）</td>
                    <td colspan="4">授权专利（件）</td>
                </tr>
                <tr>
                    <td>合计</td>
                    <td>发明专利</td>
                    <td>实用新型</td>
                    <td>国外申请</td>
                    <td>合计</td>
                    <td>发明专利</td>
                    <td>实用新型</td>
                    <td>国外授权</td>
                </tr>
                <tr>
                    <td>
                        <input type='text' name='proposal/patent_application_total' id="patent_application_total" style="width: 80%;text-align: right;" class="gray" readonly="readonly" value='<x:out select="$xmlData/data/proposal/patent_application_total"/>'>
                    </td>
                    <td>
                        <input type='text' name='proposal/patent_application_status1' id="patent_application_status1" style="width: 80%;text-align: right;" class="required" onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/patent_application_status1"/>' label="申请专利-->发明专利">
                    </td>
                    <td>
                        <input type='text' name='proposal/patent_application_status2' id="patent_application_status2" style="width: 80%;text-align: right;" class="required" onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/patent_application_status2"/>' label="申请专利-->实用新型">
                    </td>
                    <td>
                        <input type='text' name='proposal/patent_application_status3' id="patent_application_status3" style="width: 80%;text-align: right;" class="required" onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/patent_application_status3"/>' label="申请专利-->国外申请">
                    </td>
                    <td>
                        <input type='text' name='proposal/patent_authorization_total' id="patent_authorization_total" style="width: 80%;text-align: right;" class="gray" readonly="readonly" value='<x:out select="$xmlData/data/proposal/patent_authorization_total"/>'>
                    </td>
                    <td>
                        <input type='text' name='proposal/patent_authorization_status1' id="patent_authorization_status1" style="width: 80%;text-align: right;" class="required" onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/patent_authorization_status1"/>' label="授权专利-->发明专利">
                    </td>
                    <td>
                        <input type='text' name='proposal/patent_authorization_status2' id="patent_authorization_status2" style="width: 80%;text-align: right;" class="required" onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/patent_authorization_status2"/>' label="授权专利-->实用新型">
                    </td>
                    <td>
                        <input type='text' name='proposal/patent_authorization_status3' id="patent_authorization_status3" style="width: 80%;text-align: right;" class="required" onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/patent_authorization_status3"/>' label="授权专利-->国外授权">
                    </td>
                </tr>
            </table>
        </td>
	</tr>
	<tr>
        <td style="padding: 0px;">
            <table width="100%" style="text-align: center;border: none !important;">
            <col style="width: 10%"/>
            <col style="width: 10%"/>
            <col style="width: 10%"/>
            <col style="width: 10%"/>
            <col style="width: 10%"/>
            <col style="width: 10%"/>
            <col style="width: 10%"/>
            <col style="width: 10%"/>
            <col style="width: 10%"/>
            <col style="width: 10%"/>
                <tr>
                    <td colspan="5">发表论文（篇）</td>
                    <td colspan="5">引进人才（人）</td>
                </tr>
                <tr>
                    <td>合计</td>
                    <td>国外</td>
                    <td>国内</td>
                    <td>SCI收录</td>
                    <td>EI收录</td>
                    <td>院士</td>
                    <td>博士</td>
                    <td>硕士</td>
                    <td>本科</td>
                    <td>其他</td>
                </tr>
                <tr>
                    <td>
                        <input type='text' name='proposal/publish_paper_total' id="publish_paper_total" style="width: 80%;text-align: right;" class="gray" readonly="readonly" value='<x:out select="$xmlData/data/proposal/publish_paper_total"/>'>
                    </td>
                    <td>
                        <input type='text' name='proposal/publish_paper_status1' id="publish_paper_status1" style="width: 80%;text-align: right;" class="required" onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/publish_paper_status1"/>' label="发表论文-->国外">
                    </td>
                    <td>
                        <input type='text' name='proposal/publish_paper_status2' id="publish_paper_status2" style="width: 80%;text-align: right;" class="required" onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/publish_paper_status2"/>' label="发表论文-->国内">
                    </td>
                    <td>
                        <input type='text' name='proposal/publish_paper_status3' id="publish_paper_status3" style="width: 80%;text-align: right;" class="required" onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/publish_paper_status3"/>' label="发表论文-->SCI收录">
                    </td>
                    <td>
                        <input type='text' name='proposal/publish_paper_status4' id="publish_paper_status4" style="width: 80%;text-align: right;" class="required" onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/publish_paper_status4"/>' label="发表论文-->EI收录">
                    </td>
                    <td>
                        <input type='text' name='proposal/introduction_talent_level1' style="width: 80%;text-align: right;" class="required"  onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/introduction_talent_level1"/>' label="引进人才-->院士">
                    </td>
                    <td>
                        <input type='text' name='proposal/introduction_talent_level2' style="width: 80%;text-align: right;" class="required"  onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/introduction_talent_level2"/>' label="引进人才-->博士">
                    </td>
                    <td>
                        <input type='text' name='proposal/introduction_talent_level3' style="width: 80%;text-align: right;" class="required"  onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/introduction_talent_level3"/>' label="引进人才-->硕士">
                    </td>
                    <td>
                        <input type='text' name='proposal/introduction_talent_level4' style="width: 80%;text-align: right;" class="required"  onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/introduction_talent_level4"/>' label="引进人才-->本科">
                    </td>
                    <td>
                        <input type='text' name='proposal/introduction_talent_level5' style="width: 80%;text-align: right;" class="required"  onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/introduction_talent_level5"/>' label="引进人才-->其他">
                    </td>
                </tr>
            </table>
        </td>
    </tr>
	<tr>
        <td style="padding: 0px;">
            <table width="100%" style="text-align: center;border: none !important;">
            <col style="width: 12.5%"/>
            <col style="width: 12.5%"/>
            <col style="width: 12.5%"/>
            <col style="width: 12.5%"/>
            <col style="width: 12.5%"/>
            <col style="width: 12.5%"/>
            <col style="width: 12.5%"/>
            <col style="width: 12.5%"/>
                <tr>
                    <td colspan="4">晋升职称（人）</td>
                    <td rowspan="2" colspan="4">引进3人以上团队（个）</td>
                </tr>
                <tr>
                    <td>正高</td>
                    <td>副高</td>
                    <td>中级</td>
                    <td>其他</td>
                </tr>
                <tr>
                    <td>
                        <input type='text' name='proposal/promote_job_status1' style="width: 80%;text-align: right;" class="required" onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/promote_job_status1"/>' label="晋升职称-->正高">
                    </td>
                    <td>
                        <input type='text' name='proposal/promote_job_status2' style="width: 80%;text-align: right;" class="required" onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/promote_job_status2"/>' label="晋升职称-->副高">
                    </td>
                    <td>
                        <input type='text' name='proposal/promote_job_status3' style="width: 80%;text-align: right;" class="required" onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/promote_job_status3"/>' label="晋升职称-->中级">
                    </td>
                    <td>
                        <input type='text' name='proposal/promote_job_status4' style="width: 80%;text-align: right;" class="required" onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/promote_job_status4"/>' label="晋升职称-->其他">
                    </td>
                    <td colspan="4">
                        <input type='text' name='proposal/introducing_teams' style="width: 80%;text-align: right;" class="required"  onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/introducing_teams"/>' label="引进3人以上团队">
                    </td>
                </tr>
            </table>
        </td>
    </tr>
	<tr>
        <td style="padding: 0px;">
            <table width="100%" style="text-align: center;border: none !important;">
            <col style="width: 10%"/>
            <col style="width: 8%"/>
            <col style="width: 8%"/>
            <col style="width: 8%"/>
            <col style="width: 8%"/>
            <col style="width: 8%"/>
            <col style="width: 17%"/>
            <col style="width: 17%"/>
            <col style="width: 16%"/>
            
                <tr>
                    <td colspan="6">制定技术标准（项）</td>
                    <td rowspan="2">开发新产品（个）</td>
                    <td rowspan="2">新工艺（个）</td>
                    <td rowspan="2">新装置（个）</td>
                </tr>
                <tr>
                    <td>总数</td>
                    <td>国际</td>
                    <td>国家</td>
                    <td>行业</td>
                    <td>地方</td>
                    <td>企业</td>
                </tr>
                <tr>
                    <td>
                        <input type='text' name='proposal/technical_standard_total' id="technical_standard_total" style="width: 80%;text-align: right;" class="gray" readonly="readonly" value='<x:out select="$xmlData/data/proposal/technical_standard_total"/>'>
                    </td>
                    <td>
                        <input type='text' name='proposal/technical_standard_status1' id="technical_standard_status1" style="width: 80%;text-align: right;" class="required" onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/technical_standard_status1"/>' label="制定技术标准-->国际">
                    </td>
                    <td>
                        <input type='text' name='proposal/technical_standard_status2' id="technical_standard_status2" style="width: 80%;text-align: right;" class="required" onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/technical_standard_status2"/>' label="制定技术标准-->国家">
                    </td>
                    <td>
                        <input type='text' name='proposal/technical_standard_status3' id="technical_standard_status3" style="width: 80%;text-align: right;" class="required" onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/technical_standard_status3"/>' label="制定技术标准-->行业">
                    </td>
                    <td>
                        <input type='text' name='proposal/technical_standard_status4' id="technical_standard_status4" style="width: 80%;text-align: right;" class="required" onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/technical_standard_status4"/>' label="制定技术标准-->地方">
                    </td>
                    <td>
                        <input type='text' name='proposal/technical_standard_status5' id="technical_standard_status5" style="width: 80%;text-align: right;" class="required" onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/technical_standard_status5"/>' label="制定技术标准-->企业">
                    </td>
                    <td>
                        <input type='text' name='proposal/new_technique_status1' style="width: 80%;text-align: right;" class="required"  onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/new_technique_status1"/>' label="开发新产品">
                    </td>
                    <td>
                        <input type='text' name='proposal/new_technique_status2' style="width: 80%;text-align: right;" class="required"  onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/new_technique_status2"/>' label="新工艺">
                    </td>
                    <td>
                        <input type='text' name='proposal/new_technique_status3' style="width: 80%;text-align: right;" class="required"  onfocus="InitInput.setNumber(this,9,0,0)" value='<x:out select="$xmlData/data/proposal/new_technique_status3"/>' label="新装置">
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
<table class="t_css" style="text-align: center;" id="table_03" width="100%">
<col style="width: 20%"/>
<col style="width: 10%"/>
<col style="width: 10%"/>
<col style="width: 10%"/>
<col style="width: 10%"/>
<col style="width: 10%"/>
<col style="width: 10%"/>
<col style="width: 10%"/>
<col style="width: 10%"/>
    <tr>
        <td align="right" rowspan="4">预期取得经济效益：<br/>（万元）</td>
        <td>新增销售收入</td>
        <td>出口创汇<br/>（万美元）</td>
        <td>净利润</td>
        <td>新增利税</td>
        <td>技术转让收入</td>
        <td>技术入股收入</td>
        <td>技术服务收入</td>
        <td>其他技术收入</td>
    </tr>
    <tr>
        <td>
            <input type='text' name='proposal/economic_performance_status1' style="width: 80%;text-align: right;" class="required"  onfocus="InitInput.setNumber(this,9,2,2)" value='<x:out select="$xmlData/data/proposal/economic_performance_status1"/>' label="预期取得经济效益-->新增销售收入">
        </td>
        <td>
            <input type='text' name='proposal/economic_performance_status2' style="width: 80%;text-align: right;" class="required"  onfocus="InitInput.setNumber(this,9,2,2)" value='<x:out select="$xmlData/data/proposal/economic_performance_status2"/>' label="预期取得经济效益-->出口创汇">
        </td>
        <td>
            <input type='text' name='proposal/economic_performance_status3' style="width: 80%;text-align: right;" class="required"  onfocus="InitInput.setNumber(this,9,2,2,'',true)" value='<x:out select="$xmlData/data/proposal/economic_performance_status3"/>' label="预期取得经济效益-->净利润">
        </td>
        <td>
            <input type='text' name='proposal/economic_performance_status4' style="width: 80%;text-align: right;" class="required"  onfocus="InitInput.setNumber(this,9,2,2)" value='<x:out select="$xmlData/data/proposal/economic_performance_status4"/>' label="预期取得经济效益-->新增利税">
        </td>
        <td>
            <input type='text' name='proposal/economic_performance_status5' style="width: 80%;text-align: right;" class="required"  onfocus="InitInput.setNumber(this,9,2,2)" value='<x:out select="$xmlData/data/proposal/economic_performance_status5"/>' label="预期取得经济效益-->技术转让收入">
        </td>
        <td>
            <input type='text' name='proposal/economic_performance_status6' style="width: 80%;text-align: right;" class="required"  onfocus="InitInput.setNumber(this,9,2,2)" value='<x:out select="$xmlData/data/proposal/economic_performance_status6"/>' label="预期取得经济效益-->技术入股收入">
        </td>
        <td>
            <input type='text' name='proposal/economic_performance_status7' style="width: 80%;text-align: right;" class="required"  onfocus="InitInput.setNumber(this,9,2,2)" value='<x:out select="$xmlData/data/proposal/economic_performance_status7"/>' label="预期取得经济效益-->技术服务收入">
        </td>
        <td>
            <input type='text' name='proposal/economic_performance_status8' style="width: 80%;text-align: right;" class="required"  onfocus="InitInput.setNumber(this,9,2,2)" value='<x:out select="$xmlData/data/proposal/economic_performance_status8"/>' label="预期取得经济效益-->其他技术收入">
        </td>
    </tr>
    <tr>
        <td>项目总投入</td>
        <td>研发投入</td>
        <td>财政资助</td>
        <td>单位自筹</td>
        <td>地方配套</td>
        <td>其他</td>
        <td>拉动产业投资</td>
        <td>形成生产能力</td>
    </tr>
    <tr>
        <td>
            <input type='text' name='proposal/economic_performance_status9' style="width: 80%;text-align: right;" class="required"  onfocus="InitInput.setNumber(this,9,2,2)" value='<x:out select="$xmlData/data/proposal/economic_performance_status9"/>' label="预期取得经济效益-->项目总投入">
        </td>
        <td>
            <input type='text' name='proposal/economic_performance_status10' style="width: 80%;text-align: right;" class="required"  onfocus="InitInput.setNumber(this,9,2,2)" value='<x:out select="$xmlData/data/proposal/economic_performance_status10"/>' label="预期取得经济效益-->研发投入">
        </td>
        <td>
            <input type='text' name='proposal/economic_performance_status11' style="width: 80%;text-align: right;" class="required"  onfocus="InitInput.setNumber(this,9,2,2)" value='<x:out select="$xmlData/data/proposal/economic_performance_status11"/>' label="预期取得经济效益-->财政资助">
        </td>
        <td>
            <input type='text' name='proposal/economic_performance_status12' style="width: 80%;text-align: right;" class="required"  onfocus="InitInput.setNumber(this,9,2,2)" value='<x:out select="$xmlData/data/proposal/economic_performance_status12"/>' label="预期取得经济效益-->单位自筹">
        </td>
        <td>
            <input type='text' name='proposal/economic_performance_status13' style="width: 80%;text-align: right;" class="required"  onfocus="InitInput.setNumber(this,9,2,2)" value='<x:out select="$xmlData/data/proposal/economic_performance_status13"/>' label="预期取得经济效益-->地方配套">
        </td>
        <td>
            <input type='text' name='proposal/economic_performance_status14' style="width: 80%;text-align: right;" class="required"  onfocus="InitInput.setNumber(this,9,2,2)" value='<x:out select="$xmlData/data/proposal/economic_performance_status14"/>' label="预期取得经济效益-->其他">
        </td>
        <td>
            <input type='text' name='proposal/economic_performance_status15' style="width: 80%;text-align: right;" class="required"  onfocus="InitInput.setNumber(this,9,2,2)" value='<x:out select="$xmlData/data/proposal/economic_performance_status15"/>' label="预期取得经济效益-->拉动产业投资">
        </td>
        <td>
            <input type='text' name='proposal/economic_performance_status16' style="width: 80%;text-align: right;" class="required"  onfocus="InitInput.setNumber(this,9,2,2)" value='<x:out select="$xmlData/data/proposal/economic_performance_status16"/>' label="预期取得经济效益-->形成生产能力">
        </td>
    </tr>
</table>

<div class="t_bar">产学研联合</div>
<table id="table_eq1" class="t_css" style="text-align: center;">
    <col style="width: 5%"/>
    <col style="width: 5%"/>
    <col style="width: 16%"/>
    <col style="width: 18%"/>
    <col style="width: 10%"/>
    <col style="width: 12%"/>
    <col style="width: 10%"/>
    <col style="width: 10%"/>
    <col style="width: 12%"/>
	<thead >
		<tr style="border:1px solid #B7D1E6">
		    <th class="TblHead">选择</th>
		    <th class="TblHead">序号</th>
		    <th class="TblHead">单位名称</th> 
		    <th class="TblHead">单位地址</th> 
		    <th class="TblHead">合作单位性质</th> 
		    <th class="TblHead">合作形式</th> 
		    <th class="TblHead">合作经费支出<br/>（万元）</th> 
		    <th class="TblHead">联系人</th> 
		    <th class="TblHead">电话</th> 
		</tr>
	</thead>
	<tbody id="tab">
	    <tr style="display:none">
	        <td>&nbsp;
	            <input type="radio" class="radiobutton" name="seliur_union" >
	        </td>
	        <td>&nbsp;
	            <span name="iur_unions|iur_union[0]@seq_no" >[index]</span> 
	        </td>
	        <td>
	            <input type="text" name="iur_unions|iur_union[0]|unit_name"  class="required" maxlength="50" style="width:80%" label="单位名称"/>
	        </td>
	        <td>
	            <input type="text" name="iur_unions|iur_union[0]|unit_address"  label="单位地址" style="width:80%" class="required" maxlength="50"/>
	        </td> 
	        <td>
	            <input type="text" name="iur_unions|iur_union[0]|cooperation_unit_nature" label="合作单位性质"  maxlength="50"  style="width:80%" class="required" />
	        </td> 
	        <td>
	            <input type="text" name="iur_unions|iur_union[0]|cooperation_form" label="合作形式"  maxlength="40"  style="width:80%" class="required" />
	        </td> 
	        <td>
	            <input type="text" name="iur_unions|iur_union[0]|cooperation_fund" label="合作经费支出" onfocus="InitInput.setNumber(this,9,2,2)" style="width:80%;text-align: right;" class="required" />
	        </td> 
	        <td>
	            <input type="text" name="iur_unions|iur_union[0]|contact_psn" label="联系人"  maxlength="20"  style="width:80%" class="required" />
	        </td> 
	        <td>
	            <input type="text" name="iur_unions|iur_union[0]|tel" label="电话"  maxlength="40"  style="width:80%" class="required" />
	        </td> 
	    </tr>
	    
	    <c:set value="0" var="index" scope="page"/>
	    <x:forEach select="$xmlData/data/iur_unions/iur_union" var="iur_union">
	    
	    <c:choose>
	        <c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
	        <c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
	    </c:choose>
	    <tr >
	        <td>&nbsp;
	            <input type="radio" class="radiobutton" name="seliur_union" >
	        </td>
	        <td>&nbsp;
	            <span name="iur_unions/iur_union[${flag}${index}]@seq_no" ><x:out select="$iur_union/@seq_no"/></span> 
	        </td>
	        <td>
	            <input type="text" name="iur_unions/iur_union[${flag}${index}]/unit_name"   style="width:80%"   class="required" value="<x:out select="$iur_union/unit_name"/>" label="单位名称" maxlength="50"/>
	        </td>
	        <td >
	            <input type="text" name="iur_unions/iur_union[${flag}${index}]/unit_address" label="单位地址"  style="width:80%"  class="required" value="<x:out select="$iur_union/unit_address" />" maxlength="50"/>
	        </td> 
	        <td >
	            <input type="text" name="iur_unions/iur_union[${flag}${index}]/cooperation_unit_nature" style="width:80%"  class="required" value="<x:out select="$iur_union/cooperation_unit_nature"/>" label="合作单位性质" maxlength="50"/>
	        </td> 
	        <td >
	            <input type="text" name="iur_unions/iur_union[${flag}${index}]/cooperation_form" style="width:80%"  class="required" value="<x:out select="$iur_union/cooperation_form"/>" label="合作形式" maxlength="40"/>
	        </td> 
	        <td >
	            <input type="text" name="iur_unions/iur_union[${flag}${index}]/cooperation_fund" onfocus="InitInput.setNumber(this,9,2,2)" style="width:80%;text-align: right;" class="required" value="<x:out select="$iur_union/cooperation_fund"/>" label="合作经费支出"/>
	        </td> 
	        <td >
	            <input type="text" name="iur_unions/iur_union[${flag}${index}]/contact_psn" style="width:80%"  class="required" value="<x:out select="$iur_union/contact_psn"/>" label="联系人" maxlength="20"/>
	        </td> 
	        <td >
	            <input type="text" name="iur_unions/iur_union[${flag}${index}]/tel" style="width:80%" class="required" value="<x:out select="$iur_union/tel"/>" label="电话" maxlength="40"/>
	        </td> 
	    </tr>
    <c:set value="${index+1}" var="index" scope="page"/>
    </x:forEach>
</tbody>
</table>
<table width="98%" align="center">
	<tr >
		<td>
			<input class="button_02" type="button" name="cmdAddbefore" value="添加" onclick="if(checkTabLimit('table_eq1',999,'产学研联合信息最多只能填写999条')){addNewRow('table_eq1');}try{top.resizeFrame();}catch(e){};"/>
            <input class="button_02" name="cmdMovePrev" type=button value="上移" onclick="movePrev('table_eq1','seliur_union');changeCss();">
            <input class="button_02" name="cmdMoveNext" type=button value="下移" onclick="moveNext('table_eq1','seliur_union');changeCss();">
            <input class="button_02" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('table_eq1','产学研联合信息');changeCss();">
		</td>
	</tr>
</table>
<div class="t_bar"><span class="color_red">*</span>项目简述（限280字）</div>
<table id="table_04">
  <tr>
    <td>
        <textarea id='prj_brief' rows="6" name='proposal/prj_brief' style="width: 98%" class="input_textarea required maxlength:280" label="项目简述"><x:out select="$xmlData/data/proposal/prj_brief"/></textarea>
        <input type='hidden' name='proposal/prj_brief_hidden'  id='proposal/prj_brief_hidden' value=''>
    </td>
  </tr>
</table>
<script type="text/javascript">
$(function(){
	//初始化总数
	getTotalCount('patent_application_','status1,status2,status3','total');
    getTotalCount('patent_authorization_','status1,status2,status3','total');
    getTotalCount('technical_standard_','status1,status2,status3,status4,status5','total');
    getTotalCount('publish_paper_','status1,status2,status3,status4','total');
});
//---------------------计算总数----------------------begin
$('#patent_application_status1,#patent_application_status2,#patent_application_status3').change(function(){
	getTotalCount('patent_application_','status1,status2,status3','total');
});
$('#patent_authorization_status1,#patent_authorization_status2,#patent_authorization_status3').change(function(){
    getTotalCount('patent_authorization_','status1,status2,status3','total');
});
$('#technical_standard_status1,#technical_standard_status2,#technical_standard_status3,#technical_standard_status4,#technical_standard_status5').change(function(){
    getTotalCount('technical_standard_','status1,status2,status3,status4,status5','total');
});
$('#publish_paper_status1,#publish_paper_status2,#publish_paper_status3,#publish_paper_status4').change(function(){
    getTotalCount('publish_paper_','status1,status2,status3,status4','total');
});
//---------------------计算总数----------------------end
function initTreeValueExt(treeId, treeNode) {
    if ((treeNode && treeNode.isParent)) {
        scmWarn("请选择具体的" + $("#" + treeId).attr("label"));
        $("#" + treeId).val("");
        $("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val("");
        $("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId + "_value']").val("");
        $("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val("");
        return false;
    }
    var str = treeNode.name;
    var obj = treeNode.parentNode;
    while (obj != null) {
        str = obj.name + "-" + str;
        obj = obj.parentNode;
    }
    
    $("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val(treeNode.id);
    $("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId + "_value']").val(treeNode.id);
    $("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val(str);
 }
 
 /*
    ----------------------by zk
            参数prefix：公共的id开头
            参数count：需要加的数的id结尾     以,分割
            参数total：总数id结尾
            参数isDeciaml：是否为小数 默认为false
 */
 function getTotalCount(prefix,count,total,isDecimal){
	 var defaultIsDecimal = false;//默认为整数
	 if(isDecimal==null){
		 isDecimal = defaultIsDecimal;
	 }
	 var numStr = count.split(',');
	 var totalCount = 0;//总数
	 if(!isDecimal){
		 for ( var int = 0; int < numStr.length; int++) {
			 var num = $('#'+prefix+numStr[int]).val();
			 if(!$.isNumeric(num))
				 num = "0";
			 totalCount += parseInt(num);
		}
	 }else {
         for ( var int = 0; int < numStr.length; int++) {
             var num = $('#'+prefix+numStr[int]).val();
             if(!$.isNumeric(num))
                 num = "0";
             totalCount += parsefloat(num);
         }
         totalCount = ((totalCount/100)*100).toFixed(2);
	 }
	 if(totalCount == 0){
		 $('#'+prefix+total).val("");
	 }else {
		 $('#'+prefix+total).val(totalCount);
	 }
 }
</script>       
